﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZK.Common
{

    /// <summary>
    /// 委托帮助类（非静态类）
    /// </summary>
    public class DelegateHelper
    {
        /// <summary>
        /// 获取车牌号-委托
        /// </summary>
        /// <param name="carNum"></param>
        public delegate void GetCarNum(string carNum, int order);
        /// <summary>
        /// 获取车牌号-委托-事件
        /// </summary>
        public static GetCarNum EventGetCarNum;

        /// <summary>
        /// 红外光栅 委托  InfraredGrating
        /// </summary>
        /// <param name="data"></param>
        public delegate void InfraredGratingDelegate(int data);
        /// <summary>
        /// 红外光栅 委托  InfraredGrating
        /// </summary>
        public static InfraredGratingDelegate InfraredGratingEvent;


    }
}
